<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
		
 </body>
</html>
<script>
	//引用类型，保存的是内存地址
	var a = [1, 2, 3];
	var b = [1, 2, 3];
	console.log(a == b);//false
	
	//基本类型, 单纯保存的一个值
	var c = 2;
	var d = 2;
	console.log(c == d); //true
</script>
